#include<stdio.h>

int fun_b(unsigned x){
	int val=0;
	int i;
	for(i=0;i!=32;i++,x>>1){
		val=2*val|(x&1);
	}
	return val;
}

void main(){
	unsigned x=8,t;
	t=fun_b(x);
	return ;
}
